
package com.idealighter.game.games.fruitslot.message;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.games.fruitslot.dto.BasketDto;
import com.idealighter.game.games.fruitslot.dto.LineRewardIcons;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;


@ResMsg(ModuleMsgIdConstant.Fruitslot.FRUITSLOT_START)
@Data
public class ResFruitslotStartMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Fruitslot.FRUITSLOT_START;
  // 0:成功,1:筹码不足
  // @Protobuf(order = 2)
  // private int res;
  // 类型(0:普通连线奖励 )
  @Protobuf(order = 2)
  private int type;
  // bonus次数
  @Protobuf(order = 3)
  private int bonus;
  // 图标(固定15个,按行取,每行5个)
  @Protobuf(fieldType = FieldType.INT32, order = 4)
  private List<Integer> icons = new ArrayList<>();
  // 线路中奖图标信息
  @Protobuf(order = 5)
  private List<LineRewardIcons> lineRewards = new ArrayList<>();
  // 合计赢的筹码(0:没有赢)
  @Protobuf(order = 6)
  private long totalWin;

  // 水果篮倍数(3个)
  @Protobuf(order = 8)
  private List<BasketDto> lotteryRewards = new ArrayList<>();

}
